<script setup>

</script>

<template>
  <a-popover title="请选择流程节点" position="rt" trigger="click">
    <a-button type="primary" shape="circle">
      <icon-plus />
    </a-button>
    <template #content>
      <div class="w-node-options">
        <div><icon-stamp size="20" style="color: #EF994F;"/>审批人</div>
        <div><icon-subscribed size="20" style="color: #DCB24F;"/>办理人</div>
        <div><icon-send size="20" style="color: #5994F3;"/>抄送人</div>
      </div>
    </template>
  </a-popover>
</template>

<style scoped>
.w-node-options {
  width: 400px;
  display: flex;
  svg{
    padding: 5px;
    margin-right: 5px;
    border-radius: 10px;
    border: 1px solid #DEDFDF;
  }

  &>div{
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 15px;
    background: #F8F9F9;
    margin: 5px;
    width: 150px;
    &:hover {
      box-shadow: 0 0 5px 0 #E3E3E3;
    }
  }
}
</style>
